#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2024/2/26 16:41
# @Author  : 王凯
# @File    : net_robot_mysql_settings.py
# @Project : scrapy_spider

import os

MYSQL_IP = "server-forward.local.wfq2020.com"
MYSQL_PORT = "53310"
MYSQL_DB = "net_robot"
MYSQL_USER_NAME = "net_robot"
MYSQL_USER_PASS = "hPfu5eWauM2UEkJLbAwL"

os.environ['MYSQL_IP'] = MYSQL_IP
os.environ['MYSQL_PORT'] = MYSQL_PORT
os.environ['MYSQL_DB'] = MYSQL_DB
os.environ['MYSQL_USER_NAME'] = MYSQL_USER_NAME
os.environ['MYSQL_USER_PASS'] = MYSQL_USER_PASS

MYSQL_URI = f"mysql+pymysql://{MYSQL_USER_NAME}:{MYSQL_USER_PASS}@{MYSQL_IP}:{MYSQL_PORT}/{MYSQL_DB}"
